package com.ruoyi.erp.controller;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.erp.service.IERPService;
import com.ruoyi.erp.service.IXSREFPrjQueryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
@RequestMapping("/erp/run")
public class ERPWorkFlowController extends BaseController {
    @Autowired
    private IERPService iErpService;

    @Autowired
    private IXSREFPrjQueryService ixsrefPrjQueryService;

    @GetMapping("/getXSREFPrjQuery")
    public AjaxResult getXSREFPrjQuery(){

        List<String> list = iErpService.getSyncProject();



        return AjaxResult.success();
    }
}
